//
//  WithDrawView.h
//  lhpc_manager
//
//  Created by 李英杰 on 2017/9/6.
//  Copyright © 2017年 zhaoyongjie. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, LHPayType) {
    LHPayTypeAliPay,
    LHPayTypeWXPay
};

@protocol WithDrawViewDelegate <NSObject>

-(void)withDrawButtonHasClick:(NSString *)withDrawAccount;

@end

@interface WithDrawView : UIView

@property (nonatomic, strong) UITextField * wxTextField;

@property (nonatomic, weak) id<WithDrawViewDelegate>delegate;

@property (nonatomic, assign) CGFloat count;

/**
 微信还是支付宝 1 微信 0 支付宝
 */
@property (nonatomic, assign) NSInteger isWXOrAli;

- (NSString *)getAccountText;

-(void)setDefaultStyle:(LHPayType)type AndAccount:(NSString *)accountStr;

@end
